package com.bobo.model;

/**
 * Created by bobo on 2016/10/23.
 */

import java.sql.Timestamp;

/**
 * 图片
 */
public class Photo {


    private Integer id;

    private String img;
    private Integer status;//状态 -1 未使用  0 待审核  1系统默认头像  4用户上传   2类别用的图片 3 文章用的图片   5 禁用的系统头像
    private Timestamp time;

    public Photo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Photo{" +
                "id=" + id +
                ", img='" + img + '\'' +
                ", status=" + status +
                ", time=" + time +
                '}';
    }
}
